

using System;
using Abp.Application.Services.Dto;
using Abp.Domain.Entities.Auditing;
using System.ComponentModel.DataAnnotations;
using Ixyu.Health;

namespace Ixyu.Health.Dtos
{
    public class DailyLifeListDto : FullAuditedEntityDto 
    {

        public int Id { get; set; }
		/// <summary>
		/// Title
		/// </summary>
		[Required(ErrorMessage="Title不能为空")]
		public string Title { get; set; }

        public string Day
        {
            get { return CreationTime.ToString("yyyy-MM-dd"); }
        }

		/// <summary>
		/// Weight
		/// </summary>
		public double Weight { get; set; }



		/// <summary>
		/// BloodPressureHeight
		/// </summary>
		public int BloodPressureHeight { get; set; }



		/// <summary>
		/// BloodPressureLow
		/// </summary>
		public int BloodPressureLow { get; set; }




    }
}